home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / tcp-ip / netecho / netecho.readme < prev    next >
Text File  |  1996-02-26  |  2KB  |  80 lines

  1. Short: netecho checks if a host is available.
  2. Type: comm/tcp
  3. Uploader: cosinus@deepthought.north.de (Christian Stelter)
  4. Author: atte@crash.north.de (Andreas Gelhausen)
  5.  
  6. System requirements:   Kickstart 2.04+ and AmiTCP 4.0+
  7.  
  8.  
  9. Copyright
  10. =========
  11.  
  12.    netecho 37.1 - Copyright © 1994 by Andreas Gelhausen, all rights
  13. reserved.
  14.  
  15.    netecho is freely distributable. No part of this archive is allowed
  16. to be distributed with commercial software without written permission
  17. of the author.
  18.  
  19.  
  20. Disclaimer
  21. ==========
  22.  
  23.    No warranties are made for this program. All use is at your own
  24. risk. No liability or responsibility is assumed for any damages
  25. occured during the usage of netecho. You have been warned.
  26.  
  27.  
  28. Usage
  29. =====
  30.  
  31.    netecho is based on the TCP/IP service 'echo' and it's useful to
  32. check the availability of a certain host within scripts. If the given
  33. host is available, the string 'NETECHO' will be printed and the return
  34. value is set to 0 (RETURN_OK). Otherwise an error message is printed
  35. and the return value is set to 20 (RETURN_FAIL).
  36.  
  37. Usage:
  38.          netecho <hostname>
  39.  
  40. Example:
  41.          netecho crash.north.de
  42.  
  43. Example script 1:
  44.  
  45.          failat 21
  46.          netecho >nil: crash.north.de
  47.          if warn
  48.             echo "crash.north.de is not available!"
  49.          else
  50.             echo "crash is alive! =¦^)"
  51.          endif
  52.  
  53. Example script 2:
  54.  
  55.          failat 21
  56.          if "`netecho crash.north.de`" eq "NETECHO"
  57.             echo "crash is alive! =¦^)"
  58.          else
  59.             echo "crash.north.de is not available!"
  60.          endif
  61.  
  62.  
  63. How to reach the author
  64. =======================
  65.  
  66.    If you have questions, suggestions, bug reports or anything else,
  67. you can send electronic mails to:
  68.  
  69.               atte@crash.north.de (Andreas Gelhausen)
  70.  
  71.    If it is not possible for you to use this way, you can also send 
  72. letters to:
  73.  
  74.                        Andreas Gelhausen
  75.                        Graf Spee Str. 23b
  76.                        26123 Oldenburg
  77.                           - Germany -
  78.  
  79.  
  80.